#define _CRT_SECURE_NO_WARNINGS 1

class Sum
{
public:
    Sum()
    {
        _rel += _num;
        _num++;
    }

    static int get_rel()
    {
        return _rel;
    }

private:
    static int _rel;
    static int _num;
};

int Sum::_rel = 0;
int Sum::_num = 1;

class Solution {
public:
    int Sum_Solution(int n) {
        Sum arr[n];
        return Sum::get_rel();
    }
};